package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/7/28 0028.
 */

public class PersonalActivityBean {

    /**
     * code : 200
     * data : {"number":[{"id":"152","strech":"香蕉聊天全国高校新生赞助","sponsor":"天率","cover":"5816d7b9dc771.png","contact":"天率校园","location":"全国","action_time":"1471219200","exit_time":"1481184000","lessons":" 2016年秋季图片社交in旗下","uid":"320","uname":"小率1","tname":"校园活动","photo":"59794d4661fc6.png","unit":"北京天率科技"},{"id":"227","strech":"足球宝贝选秀大赛","sponsor":"天率广告","cover":"59659ca1688d4.png","contact":"天率校园","location":"沈阳、青岛、上海、成都、深圳、北京","action_time":"1495598400","exit_time":"1497758400","lessons":"侠士足球宝贝大赛历时一个月的时间，经过沈阳、青岛、上海、成都、深圳、北京六大城市海选取得圆满成功。","uid":"320","uname":"小率1","tname":"创意活动","photo":"59794d4661fc6.png","unit":"北京天率科技"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("number")
        private List<NumberBean> number;

        public List<NumberBean> getNumber() {
            return number;
        }

        public void setNumber(List<NumberBean> number) {
            this.number = number;
        }

        public static class NumberBean {
            /**
             * id : 152
             * strech : 香蕉聊天全国高校新生赞助
             * sponsor : 天率
             * cover : 5816d7b9dc771.png
             * contact : 天率校园
             * location : 全国
             * action_time : 1471219200
             * exit_time : 1481184000
             * lessons :  2016年秋季图片社交in旗下
             * uid : 320
             * uname : 小率1
             * tname : 校园活动
             * photo : 59794d4661fc6.png
             * unit : 北京天率科技
             */

            @SerializedName("id")
            private String id;
            @SerializedName("strech")
            private String strech;
            @SerializedName("sponsor")
            private String sponsor;
            @SerializedName("cover")
            private String cover;
            @SerializedName("contact")
            private String contact;
            @SerializedName("location")
            private String location;
            @SerializedName("action_time")
            private String actionTime;
            @SerializedName("exit_time")
            private String exitTime;
            @SerializedName("lessons")
            private String lessons;
            @SerializedName("uid")
            private String uid;
            @SerializedName("uname")
            private String uname;
            @SerializedName("tname")
            private String tname;
            @SerializedName("photo")
            private String photo;
            @SerializedName("unit")
            private String unit;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStrech() {
                return strech;
            }

            public void setStrech(String strech) {
                this.strech = strech;
            }

            public String getSponsor() {
                return sponsor;
            }

            public void setSponsor(String sponsor) {
                this.sponsor = sponsor;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getActionTime() {
                return actionTime;
            }

            public void setActionTime(String actionTime) {
                this.actionTime = actionTime;
            }

            public String getExitTime() {
                return exitTime;
            }

            public void setExitTime(String exitTime) {
                this.exitTime = exitTime;
            }

            public String getLessons() {
                return lessons;
            }

            public void setLessons(String lessons) {
                this.lessons = lessons;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }
    }
}
